package com.mrdeer.user.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.mrdeer.user.api.entity.AuthorizationRolePrivilege;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * 角色-权限关系
 *
 * @author ：xie jianchu
 * @date ：Created in 2020/9/8 0008 9:18
 */
@Repository
public interface AuthorizationRolePrivilegeMapper extends BaseMapper<AuthorizationRolePrivilege> {

    void insertRolePrivilege(@Param("rid") Long rid, @Param("pids") List<Long> pids);
}
